<div id="main-alt">
<h2>Upload A File to the <%= class_name %></h2>

<%= error_messages_for :<%= file_name %>_asset %>

<% upload_form_for(@<%= file_name %>_asset, :url => asset_path) do |f| %>
  
  <p><label for="<%= file_name %>_asset_file">File:</label><br/>
  <%= upload_column_field '<%= file_name %>_asset', 'file' %></p>
  
  <p><label for="<%= file_name %>_asset_caption">Caption:</label><br/>
  <%= f.text_field "caption" %></p>
    
  <p>
    <%= f.submit "Upload File" %>
  </p>
<% end %>

<%= link_to 'Back', assets_path %>
</div>
<div id="secondary-alt">
<div id="wiki-navigation">
<h3>Uploading Files</h3>
<div id="wiki-help">
<p>Here you can upload and share almost any type of file.<br/><small>(jpg, png, pdf, etc...)</small></p>
<p>When uploading a file try and make the file name memorable.<br/><small>(LPStart.jpg vs. 00_73.jpg)</small></p>
<p>After uploading you can use the file any of the wiki pages. Images can also be added directly into the page.<br/><small>(see <%= link_to("<%= class_name %> Formatting", <%= file_name %>_path("<%= class_name %>Formatting")) %>)</small></p>
</p>

<p><strong><em>Please be certain you have permission to upload the file!<em></strong></p>
</div>
</div>
</div> 